/**
 * 获取当前页面 options route
 * @return {Object}
 */
export default () => {
  const page = getCurrentPages();
  const { options, route } = page[page.length - 1];
  return { options, route};
}
